﻿<data:WizardUserControl x:Class="ICSharpCode.Data.EDMDesigner.Core.Windows.EDMWizard.ChooseDatabaseObjectsUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:data="http://icsharpcode.net/data">
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        
        <TextBlock Margin="3" Grid.ColumnSpan="2">Which database objects do you want to include in your model?</TextBlock>
        <data:DatabaseTreeView x:Name="databaseTreeView" Grid.Row="1" Grid.ColumnSpan="2" Margin="3" Database="{Binding SelectedDatabase}" ShowCheckBoxes="True" />
        <TextBlock Grid.Row="2" Margin="3">Model Namespace:</TextBlock>
        <TextBox Grid.Row="3" Margin="3" Text="{Binding ModelNamespace}" />
        <TextBlock Grid.Row="2" Grid.Column="1" Margin="3">Object context name:</TextBlock>
        <TextBox Grid.Row="3" Grid.Column="1" Margin="3" Text="{Binding ObjectContextName}" />
    </Grid>
</data:WizardUserControl>
